package com.motion.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 吕伟泽
 * @since 2022-04-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("UserArticle")
public class UserNavigation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "userNavigationId", type = IdType.AUTO)
    private Long userNavigationId;

    @TableField("userId")
    private Long userId;

    @TableField("articleId")
    private Long navigationId;

    @TableField("createTime")
    private LocalDateTime createTime;


}
